package com.teach.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ReturnData<T> {

	/**
	 * response stutas 响应状态
	 */
    private int code;
    
    /**
     * response message 响应消息
     */
    private String message;
    
    /**
     * response body 响应正文
     * to json string 转成json字符串
     */
    private T data;

}
